window.EcExtension?.ready?.(() => {
    if (window.ecodeSDK && location.pathname.startsWith('/wui/engine.html')) {
        window.EcExtension.Menus.register('前端用户中心/首页', () => {
            window.open(`/wui/engine.html#/hrmengine/index`)
        })
    }
})